/**
 * icon:菜单项图标
 * roles:标明当前菜单项在何种角色下可以显示，如果不写此选项，表示该菜单项完全公开，在任何角色下都显示
 */
const menuList = [
  {
    title: "首页",
    path: "/dashboard",
    icon: "home",
    roles: ["admin", "editor", "guest"]
  },
  {
    title: "引导页",
    path: "/guide",
    icon: "key",
    roles: ["guest"]
  },
  {
    title: "订单管理",
    icon: "shop",
    path: '/order',
    roles: ["admin", "editor"],
    children: [
      {
        title: '订单列表',
        path: '/order/list'
      },
      {
        title: '添加订单',
        path: '/order/add'
      },
    ]
  },
  {
    title: "商品管理",
    path: "/product",
    icon: "key",
    roles: ["admin"]
  },
  {
    title: "用户管理",
    path: "/user",
    icon: "user",
    roles: ["admin"]
  },
];
export default menuList;
